-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove API that was deprecated during the 5.10 release #1029
Remove API that was deprecated during the 5.10 release #1029
Conversation
This repo doesn't have a 6.0 release yet but Swift has. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - maybe just update the copyright message on some modified source files.
@@ -16,10 +16,6 @@ public protocol DiagnosticConsumer: AnyObject { | |||
/// - Parameter problems: The encountered diagnostics. | |||
func receive(_ problems: [Problem]) | |||
|
|||
/// Inform the consumer that the engine has sent all diagnostics for this build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also update the copyright message for this file to 2024.
@@ -105,11 +105,6 @@ public final class DiagnosticEngine { | |||
} | |||
} | |||
|
|||
@available(*, deprecated, renamed: "flush()", message: "Use 'flush()' instead. This deprecated API will be removed after 6.0 is released") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above: update the copyright message to 2024.
@@ -25,6 +25,3 @@ public struct DocumentationCatalogOption: DirectoryPathOption { | |||
transform: URL.init(fileURLWithPath:)) | |||
public var url: URL? | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above: update the copyright message to 2024.
@swift-ci please test |
Bug/issue #, if applicable:
Summary
Now that version 6.0 is released, API that's been deprecated during the 5.10 release can be removed according to the process described in the "Introducing source breaking changes" section of CONTRIBUTING.md.
Dependencies
None.
Testing
Nothing in particular. DocC itself wasn't using this API anymore.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
[ ] Added tests./bin/test
script and it succeeded[ ] Updated documentation if necessary